//
//  rcshell_adder.m
//  rcshell
//
//  Created by luolijun on 2021/11/26.
//  Copyright © 2021 com.gitee.newheels. All rights reserved.
//
#import <Foundation/Foundation.h>

#include "rcshell_call.h"

#include "adder.h"

@implementation adder

- (NSNumber*)add:(NSNumber *)a with:(NSNumber *)b {
    return @(a.intValue + b.intValue);
}

- (NSNumber*)sub:(NSNumber *)a with:(NSNumber *)b {
    return @(a.intValue - b.intValue);
}

@end
